package com.hy.frame.recycler;

import android.view.View;


import com.hy.frame.adapter.IAdapter;

/**
 * title IBaseAdapter for RecyclerView
 * author HeYan
 * time 2020/11/30 15:06
 * desc 无
 */
public interface IBaseAdapter<T> extends IAdapter<T> {

    /**
     * 获取数据正确下标
     * @param position 原数据下标
     */
    int getCurPosition(int position);

    BaseHolder getItemHolder(View v);

    void bindItemData(BaseHolder holder, int position);

}
